<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the ByteData class from the dart:typed_data library, for the Dart programming language.">
  <title>ByteData class - dart:typed_data library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">
  
</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">shake</a></li>
    <li><a href="dart-typed_data/dart-typed_data-library.html">dart:typed_data</a></li>
    <li class="self-crumb">ByteData abstract class</li>
  </ol>
  <div class="self-name">ByteData</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div id="dartdoc-sidebar-left" class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <header id="header-search-sidebar" class="hidden-l">
      <form class="search-sidebar" role="search">
        <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
      </form>
    </header>
    
    <ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
      <li><a href="index.html">shake</a></li>
      <li><a href="dart-typed_data/dart-typed_data-library.html">dart:typed_data</a></li>
      <li class="self-crumb">ByteData abstract class</li>
    </ol>
    
    <h5>dart:typed_data library</h5>
    <ol>
      <li class="section-title"><a href="dart-typed_data/dart-typed_data-library.html#classes">Classes</a></li>
      <li><a href="dart-typed_data/ByteBuffer-class.html">ByteBuffer</a></li>
      <li><a href="dart-typed_data/ByteData-class.html">ByteData</a></li>
      <li><a href="dart-typed_data/Endian-class.html">Endian</a></li>
      <li><a href="dart-typed_data/Float32List-class.html">Float32List</a></li>
      <li><a href="dart-typed_data/Float32x4-class.html">Float32x4</a></li>
      <li><a href="dart-typed_data/Float32x4List-class.html">Float32x4List</a></li>
      <li><a href="dart-typed_data/Float64List-class.html">Float64List</a></li>
      <li><a href="dart-typed_data/Float64x2-class.html">Float64x2</a></li>
      <li><a href="dart-typed_data/Float64x2List-class.html">Float64x2List</a></li>
      <li><a href="dart-typed_data/Int8List-class.html">Int8List</a></li>
      <li><a href="dart-typed_data/Int16List-class.html">Int16List</a></li>
      <li><a href="dart-typed_data/Int32List-class.html">Int32List</a></li>
      <li><a href="dart-typed_data/Int32x4-class.html">Int32x4</a></li>
      <li><a href="dart-typed_data/Int32x4List-class.html">Int32x4List</a></li>
      <li><a href="dart-typed_data/Int64List-class.html">Int64List</a></li>
      <li><a href="dart-typed_data/TypedData-class.html">TypedData</a></li>
      <li><a href="dart-typed_data/Uint8ClampedList-class.html">Uint8ClampedList</a></li>
      <li><a href="dart-typed_data/Uint8List-class.html">Uint8List</a></li>
      <li><a href="dart-typed_data/Uint16List-class.html">Uint16List</a></li>
      <li><a href="dart-typed_data/Uint32List-class.html">Uint32List</a></li>
      <li><a href="dart-typed_data/Uint64List-class.html">Uint64List</a></li>
      <li><a href="dart-typed_data/UnmodifiableByteBufferView-class.html">UnmodifiableByteBufferView</a></li>
      <li><a href="dart-typed_data/UnmodifiableByteDataView-class.html">UnmodifiableByteDataView</a></li>
      <li><a href="dart-typed_data/UnmodifiableFloat32ListView-class.html">UnmodifiableFloat32ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableFloat32x4ListView-class.html">UnmodifiableFloat32x4ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableFloat64ListView-class.html">UnmodifiableFloat64ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableFloat64x2ListView-class.html">UnmodifiableFloat64x2ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableInt8ListView-class.html">UnmodifiableInt8ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableInt16ListView-class.html">UnmodifiableInt16ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableInt32ListView-class.html">UnmodifiableInt32ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableInt32x4ListView-class.html">UnmodifiableInt32x4ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableInt64ListView-class.html">UnmodifiableInt64ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableUint8ClampedListView-class.html">UnmodifiableUint8ClampedListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableUint8ListView-class.html">UnmodifiableUint8ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableUint16ListView-class.html">UnmodifiableUint16ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableUint32ListView-class.html">UnmodifiableUint32ListView</a></li>
      <li><a href="dart-typed_data/UnmodifiableUint64ListView-class.html">UnmodifiableUint64ListView</a></li>
    
    
    
    
    
    
    
    </ol>
  </div>

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1>ByteData class </h1></div>

    <section class="desc markdown">
      <p>A fixed-length, random-access sequence of bytes that also provides random
and unaligned access to the fixed-width integers and floating point
numbers represented by those bytes.</p>
<p><code>ByteData</code> may be used to pack and unpack data from external sources
(such as networks or files systems), and to process large quantities
of numerical data more efficiently than would be possible
with ordinary <a href="dart-core/List-class.html">List</a> implementations.
<code>ByteData</code> can save space, by eliminating the need for object headers,
and time, by eliminating the need for data copies.
Finally, <code>ByteData</code> may be used to intentionally reinterpret the bytes
representing one arithmetic type as another.
For example this code fragment determine what 32-bit signed integer
is represented by the bytes of a 32-bit floating point number:</p>
<pre class="language-dart"><code>var buffer = new Uint8List(8).buffer;
var bdata = new ByteData.view(buffer);
bdata.setFloat32(0, 3.04);
int huh = bdata.getInt32(0);
</code></pre>
    </section>
    
    <section>
      <dl class="dl-horizontal">

        <dt>Implemented types</dt>
        <dd>
          <ul class="comma-separated clazz-relationships">
            <li><a href="dart-typed_data/TypedData-class.html">TypedData</a></li>
          </ul>
        </dd>


        <dt>Implementers</dt>
        <dd><ul class="comma-separated clazz-relationships">
          <li><a href="dart-typed_data/UnmodifiableByteDataView-class.html">UnmodifiableByteDataView</a></li>
        </ul></dd>

      </dl>
    </section>

    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="ByteData" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/ByteData.html">ByteData</a></span><span class="signature">(<span class="parameter" id="-param-length"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">length</span></span>)</span>
        </dt>
        <dd>
          Creates a <a href="dart-typed_data/ByteData-class.html">ByteData</a> of the specified length (in elements), all of
whose bytes are initially zero.
          <div class="constructor-modifier features">factory</div>
        </dd>
        <dt id="ByteData.view" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/ByteData.view.html">ByteData.view</a></span><span class="signature">(<span class="parameter" id="view-param-buffer"><span class="type-annotation"><a href="dart-typed_data/ByteBuffer-class.html">ByteBuffer</a></span> <span class="parameter-name">buffer</span>, [</span> <span class="parameter" id="view-param-offsetInBytes"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">offsetInBytes</span> = <span class="default-value">0</span>, </span> <span class="parameter" id="view-param-length"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">length</span></span> ])</span>
        </dt>
        <dd>
          Creates an <a href="dart-typed_data/ByteData-class.html">ByteData</a> <em>view</em> of the specified region in <code>buffer</code>. <a href="dart-typed_data/ByteData/ByteData.view.html">[...]</a>
          <div class="constructor-modifier features">factory</div>
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="buffer" class="property inherited">
          <span class="name"><a href="dart-typed_data/TypedData/buffer.html">buffer</a></span>
          <span class="signature">&#8594; <a href="dart-typed_data/ByteBuffer-class.html">ByteBuffer</a></span>         
        </dt>
        <dd class="inherited">
          Returns the byte buffer associated with this object.
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="elementSizeInBytes" class="property inherited">
          <span class="name"><a href="dart-typed_data/TypedData/elementSizeInBytes.html">elementSizeInBytes</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>         
        </dt>
        <dd class="inherited">
          Returns the number of bytes in the representation of each element in this
list.
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="hashCode" class="property inherited">
          <span class="name"><a href="dart-core/Object/hashCode.html">hashCode</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>         
        </dt>
        <dd class="inherited">
          The hash code for this object. <a href="dart-core/Object/hashCode.html">[...]</a>
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="lengthInBytes" class="property inherited">
          <span class="name"><a href="dart-typed_data/TypedData/lengthInBytes.html">lengthInBytes</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>         
        </dt>
        <dd class="inherited">
          Returns the length of this view, in bytes.
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="offsetInBytes" class="property inherited">
          <span class="name"><a href="dart-typed_data/TypedData/offsetInBytes.html">offsetInBytes</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>         
        </dt>
        <dd class="inherited">
          Returns the offset in bytes into the underlying byte buffer of this view.
                  <div class="features">read-only, inherited</div>
</dd>
        <dt id="runtimeType" class="property inherited">
          <span class="name"><a href="dart-core/Object/runtimeType.html">runtimeType</a></span>
          <span class="signature">&#8594; <a href="dart-core/Type-class.html">Type</a></span>         
        </dt>
        <dd class="inherited">
          A representation of the runtime type of the object.
                  <div class="features">read-only, inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="getFloat32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getFloat32.html">getFloat32</a></span><span class="signature">(<wbr><span class="parameter" id="getFloat32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getFloat32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
                  </dt>
        <dd>
          Returns the floating point number represented by the four bytes at
the specified <code>byteOffset</code> in this object, in IEEE 754
single-precision binary floating-point format (binary32). <a href="dart-typed_data/ByteData/getFloat32.html">[...]</a>
                  
</dd>
        <dt id="getFloat64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getFloat64.html">getFloat64</a></span><span class="signature">(<wbr><span class="parameter" id="getFloat64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getFloat64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
                  </dt>
        <dd>
          Returns the floating point number represented by the eight bytes at
the specified <code>byteOffset</code> in this object, in IEEE 754
double-precision binary floating-point format (binary64). <a href="dart-typed_data/ByteData/getFloat64.html">[...]</a>
                  
</dd>
        <dt id="getInt8" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getInt8.html">getInt8</a></span><span class="signature">(<wbr><span class="parameter" id="getInt8-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the (possibly negative) integer represented by the byte at the
specified <code>byteOffset</code> in this object, in two's complement binary
representation. <a href="dart-typed_data/ByteData/getInt8.html">[...]</a>
                  
</dd>
        <dt id="getInt16" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getInt16.html">getInt16</a></span><span class="signature">(<wbr><span class="parameter" id="getInt16-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getInt16-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the (possibly negative) integer represented by the two bytes at
the specified <code>byteOffset</code> in this object, in two's complement binary
form. <a href="dart-typed_data/ByteData/getInt16.html">[...]</a>
                  
</dd>
        <dt id="getInt32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getInt32.html">getInt32</a></span><span class="signature">(<wbr><span class="parameter" id="getInt32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getInt32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the (possibly negative) integer represented by the four bytes at
the specified <code>byteOffset</code> in this object, in two's complement binary
form. <a href="dart-typed_data/ByteData/getInt32.html">[...]</a>
                  
</dd>
        <dt id="getInt64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getInt64.html">getInt64</a></span><span class="signature">(<wbr><span class="parameter" id="getInt64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getInt64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the (possibly negative) integer represented by the eight bytes at
the specified <code>byteOffset</code> in this object, in two's complement binary
form. <a href="dart-typed_data/ByteData/getInt64.html">[...]</a>
                  
</dd>
        <dt id="getUint8" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getUint8.html">getUint8</a></span><span class="signature">(<wbr><span class="parameter" id="getUint8-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the positive integer represented by the byte at the specified
<code>byteOffset</code> in this object, in unsigned binary form. <a href="dart-typed_data/ByteData/getUint8.html">[...]</a>
                  
</dd>
        <dt id="getUint16" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getUint16.html">getUint16</a></span><span class="signature">(<wbr><span class="parameter" id="getUint16-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getUint16-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the positive integer represented by the two bytes starting
at the specified <code>byteOffset</code> in this object, in unsigned binary
form. <a href="dart-typed_data/ByteData/getUint16.html">[...]</a>
                  
</dd>
        <dt id="getUint32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getUint32.html">getUint32</a></span><span class="signature">(<wbr><span class="parameter" id="getUint32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getUint32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the positive integer represented by the four bytes starting
at the specified <code>byteOffset</code> in this object, in unsigned binary
form. <a href="dart-typed_data/ByteData/getUint32.html">[...]</a>
                  
</dd>
        <dt id="getUint64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/getUint64.html">getUint64</a></span><span class="signature">(<wbr><span class="parameter" id="getUint64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, [</span> <span class="parameter" id="getUint64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
                  </dt>
        <dd>
          Returns the positive integer represented by the eight bytes starting
at the specified <code>byteOffset</code> in this object, in unsigned binary
form. <a href="dart-typed_data/ByteData/getUint64.html">[...]</a>
                  
</dd>
        <dt id="setFloat32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setFloat32.html">setFloat32</a></span><span class="signature">(<wbr><span class="parameter" id="setFloat32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setFloat32-param-value"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setFloat32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the four bytes starting at the specified <code>byteOffset</code> in this
object to the IEEE 754 single-precision binary floating-point
(binary32) representation of the specified <code>value</code>. <a href="dart-typed_data/ByteData/setFloat32.html">[...]</a>
                  
</dd>
        <dt id="setFloat64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setFloat64.html">setFloat64</a></span><span class="signature">(<wbr><span class="parameter" id="setFloat64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setFloat64-param-value"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setFloat64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the eight bytes starting at the specified <code>byteOffset</code> in this
object to the IEEE 754 double-precision binary floating-point
(binary64) representation of the specified <code>value</code>. <a href="dart-typed_data/ByteData/setFloat64.html">[...]</a>
                  
</dd>
        <dt id="setInt8" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setInt8.html">setInt8</a></span><span class="signature">(<wbr><span class="parameter" id="setInt8-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setInt8-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the byte at the specified <code>byteOffset</code> in this object to the
two's complement binary representation of the specified <code>value</code>, which
must fit in a single byte. <a href="dart-typed_data/ByteData/setInt8.html">[...]</a>
                  
</dd>
        <dt id="setInt16" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setInt16.html">setInt16</a></span><span class="signature">(<wbr><span class="parameter" id="setInt16-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setInt16-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setInt16-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the two bytes starting at the specified <code>byteOffset</code> in this
object to the two's complement binary representation of the specified
<code>value</code>, which must fit in two bytes. <a href="dart-typed_data/ByteData/setInt16.html">[...]</a>
                  
</dd>
        <dt id="setInt32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setInt32.html">setInt32</a></span><span class="signature">(<wbr><span class="parameter" id="setInt32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setInt32-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setInt32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the four bytes starting at the specified <code>byteOffset</code> in this
object to the two's complement binary representation of the specified
<code>value</code>, which must fit in four bytes. <a href="dart-typed_data/ByteData/setInt32.html">[...]</a>
                  
</dd>
        <dt id="setInt64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setInt64.html">setInt64</a></span><span class="signature">(<wbr><span class="parameter" id="setInt64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setInt64-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setInt64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the eight bytes starting at the specified <code>byteOffset</code> in this
object to the two's complement binary representation of the specified
<code>value</code>, which must fit in eight bytes. <a href="dart-typed_data/ByteData/setInt64.html">[...]</a>
                  
</dd>
        <dt id="setUint8" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setUint8.html">setUint8</a></span><span class="signature">(<wbr><span class="parameter" id="setUint8-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setUint8-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the byte at the specified <code>byteOffset</code> in this object to the
unsigned binary representation of the specified <code>value</code>, which must fit
in a single byte. <a href="dart-typed_data/ByteData/setUint8.html">[...]</a>
                  
</dd>
        <dt id="setUint16" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setUint16.html">setUint16</a></span><span class="signature">(<wbr><span class="parameter" id="setUint16-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setUint16-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setUint16-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the two bytes starting at the specified <code>byteOffset</code> in this object
to the unsigned binary representation of the specified <code>value</code>,
which must fit in two bytes. <a href="dart-typed_data/ByteData/setUint16.html">[...]</a>
                  
</dd>
        <dt id="setUint32" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setUint32.html">setUint32</a></span><span class="signature">(<wbr><span class="parameter" id="setUint32-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setUint32-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setUint32-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the four bytes starting at the specified <code>byteOffset</code> in this object
to the unsigned binary representation of the specified <code>value</code>,
which must fit in four bytes. <a href="dart-typed_data/ByteData/setUint32.html">[...]</a>
                  
</dd>
        <dt id="setUint64" class="callable">
          <span class="name"><a href="dart-typed_data/ByteData/setUint64.html">setUint64</a></span><span class="signature">(<wbr><span class="parameter" id="setUint64-param-byteOffset"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">byteOffset</span>, </span> <span class="parameter" id="setUint64-param-value"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">value</span>, [</span> <span class="parameter" id="setUint64-param-endian"><span class="type-annotation"><a href="dart-typed_data/Endian-class.html">Endian</a></span> <span class="parameter-name">endian</span> = <span class="default-value">Endian.big</span></span> ])
            <span class="returntype parameter">&#8594; void</span>
          </span>
                  </dt>
        <dd>
          Sets the eight bytes starting at the specified <code>byteOffset</code> in this object
to the unsigned binary representation of the specified <code>value</code>,
which must fit in eight bytes. <a href="dart-typed_data/ByteData/setUint64.html">[...]</a>
                  
</dd>
        <dt id="noSuchMethod" class="callable inherited">
          <span class="name"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
                  </dt>
        <dd class="inherited">
          Invoked when a non-existent method or property is accessed. <a href="dart-core/Object/noSuchMethod.html">[...]</a>
                  <div class="features">inherited</div>
</dd>
        <dt id="toString" class="callable inherited">
          <span class="name"><a href="dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
                  </dt>
        <dd class="inherited">
          Returns a string representation of this object.
                  <div class="features">inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable inherited">
          <span class="name"><a href="dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
                  </dt>
        <dd class="inherited">
          The equality operator. <a href="dart-core/Object/operator_equals.html">[...]</a>
                  <div class="features">inherited</div>
</dd>
      </dl>
    </section>




  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <ol>
      <li class="section-title"><a href="dart-typed_data/ByteData-class.html#constructors">Constructors</a></li>
      <li><a href="dart-typed_data/ByteData/ByteData.html">ByteData</a></li>
      <li><a href="dart-typed_data/ByteData/ByteData.view.html">view</a></li>
    
      <li class="section-title inherited">
        <a href="dart-typed_data/ByteData-class.html#instance-properties">Properties</a>
      </li>
      <li class="inherited"><a href="dart-typed_data/TypedData/buffer.html">buffer</a></li>
      <li class="inherited"><a href="dart-typed_data/TypedData/elementSizeInBytes.html">elementSizeInBytes</a></li>
      <li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="dart-typed_data/TypedData/lengthInBytes.html">lengthInBytes</a></li>
      <li class="inherited"><a href="dart-typed_data/TypedData/offsetInBytes.html">offsetInBytes</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
      <li class="section-title"><a href="dart-typed_data/ByteData-class.html#instance-methods">Methods</a></li>
      <li><a href="dart-typed_data/ByteData/getFloat32.html">getFloat32</a></li>
      <li><a href="dart-typed_data/ByteData/getFloat64.html">getFloat64</a></li>
      <li><a href="dart-typed_data/ByteData/getInt8.html">getInt8</a></li>
      <li><a href="dart-typed_data/ByteData/getInt16.html">getInt16</a></li>
      <li><a href="dart-typed_data/ByteData/getInt32.html">getInt32</a></li>
      <li><a href="dart-typed_data/ByteData/getInt64.html">getInt64</a></li>
      <li><a href="dart-typed_data/ByteData/getUint8.html">getUint8</a></li>
      <li><a href="dart-typed_data/ByteData/getUint16.html">getUint16</a></li>
      <li><a href="dart-typed_data/ByteData/getUint32.html">getUint32</a></li>
      <li><a href="dart-typed_data/ByteData/getUint64.html">getUint64</a></li>
      <li><a href="dart-typed_data/ByteData/setFloat32.html">setFloat32</a></li>
      <li><a href="dart-typed_data/ByteData/setFloat64.html">setFloat64</a></li>
      <li><a href="dart-typed_data/ByteData/setInt8.html">setInt8</a></li>
      <li><a href="dart-typed_data/ByteData/setInt16.html">setInt16</a></li>
      <li><a href="dart-typed_data/ByteData/setInt32.html">setInt32</a></li>
      <li><a href="dart-typed_data/ByteData/setInt64.html">setInt64</a></li>
      <li><a href="dart-typed_data/ByteData/setUint8.html">setUint8</a></li>
      <li><a href="dart-typed_data/ByteData/setUint16.html">setUint16</a></li>
      <li><a href="dart-typed_data/ByteData/setUint32.html">setUint32</a></li>
      <li><a href="dart-typed_data/ByteData/setUint64.html">setUint64</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
      <li class="inherited"><a href="dart-core/Object/toString.html">toString</a></li>
    
      <li class="section-title inherited"><a href="dart-typed_data/ByteData-class.html#operators">Operators</a></li>
      <li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>
    
    
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    shake 0.1.0
  </span>

  
</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
